package com.example.springboot.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class HttpReqDTO implements Serializable {

    /**
     * transData : {"baseInfo":{"transDate":"2014-07-28 16:35:30","transNo":"9520230330150629772","zoneNo":"8611","brNo":"00000000"},"lcCont":{"proposalContNo":"202000000000061"}}
     */

    private TransDataBean transData;

    @Data
    public static class TransDataBean implements Serializable {
        /**
         * baseInfo : {"transDate":"2014-07-28 16:35:30","transNo":"9520230330150629772","zoneNo":"8611","brNo":"00000000"}
         * lcCont : {"proposalContNo":"202000000000061"}
         */

        private BaseInfoBean baseInfo;
        private LcContBean lcCont;

        @Data
        public static class BaseInfoBean implements Serializable {
            /**
             * transDate : 2014-07-28 16:35:30
             * transNo : 9520230330150629772
             * zoneNo : 8611
             * brNo : 00000000
             */

            private String transDate;
            private String transNo;
            private String zoneNo;
            private String brNo;
        }

        @Data
        public static class LcContBean implements Serializable {
            /**
             * proposalContNo : 202000000000061
             */

            private String proposalContNo;
        }
    }
}
